package com.bite.order.api;

import com.bite.product.api.ProductInterface;
import org.springframework.cloud.openfeign.FeignClient;

/**
 * Feign客户端接口
 * 声明接口，Feign会根据接口方法定义，生成代理对象，并调用服务
 */

@FeignClient(name = "product-service", path = "/product")
public interface ProductApi extends ProductInterface {
}
